package Testing;



import DAO.StatusDAO;
import POJO.StatusPOJO;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.cassandra.thrift.*;
import org.apache.thrift.TException;
import org.apache.thrift.protocol.TBinaryProtocol;
import org.apache.thrift.protocol.TProtocol;
import org.apache.thrift.transport.TFramedTransport;
import org.apache.thrift.transport.TSocket;
import org.apache.thrift.transport.TTransport;

public class apphuy
{
    public static void main(String[] args) throws Exception
    {
        try {
            TTransport tr = new TFramedTransport(new TSocket(Common.Constants.HOST, Common.Constants.PORT));
            TProtocol proto = new TBinaryProtocol(tr);
            Cassandra.Client client = new Cassandra.Client(proto);
            tr.open();
            
            
            //Beign: Test ham
            
            
            //End: Test ham
            tr.close();
        }  catch (TException ex) {
            Logger.getLogger(apphuy.class.getName()).log(Level.SEVERE, null, ex);
        } 
    }
}


